package com.nsoft.html5npub.objects;

import org.simpleframework.xml.Default;

import com.nsoft.html5npub.utils.Constant;

@Default
public class BookItem {
	private String contentName=Constant.EMPTY;
	private String contentId=Constant.EMPTY;
	private String downloadPath=Constant.EMPTY;
	private String filename=Constant.EMPTY;
	private String imgPath=Constant.EMPTY;
	private String version=Constant.EMPTY;
	private String state=Constant.EMPTY;
	private String reDownload=Constant.EMPTY;
	private String downloaded=Constant.DOWNLOADED_FALSE;
	
	public String getContentName() {
		return contentName;
	}
	public void setContentName(String contentName) {
		this.contentName = contentName;
	}
	
	public String getContentId() {
		return contentId;
	}
	public void setContentId(String contentId) {
		this.contentId = contentId!=null?
					contentId:Constant.EMPTY;
	}
	
	public String getDownloadPath() {
		return downloadPath;
	}
	public void setDownloadPath(String downloadPath) {
		this.downloadPath = downloadPath!=null?
				downloadPath:Constant.EMPTY;
	}

	public String getFilename() {
		return filename;
	}
	public void setFilename(String _filename) {
		this.filename = _filename!=null?
				_filename:Constant.EMPTY;
	}

	public String getImgPath() {
		return imgPath;
	}
	public void setImgPath(String imgPath) {
		this.imgPath = imgPath!=null?
				imgPath:Constant.EMPTY;
	}
	
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version!=null?
				version:Constant.EMPTY;
	}
	
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state!=null?
			downloadPath:Constant.EMPTY;
	}
	
	public String getReDownload() {
		return reDownload;
	}
	public void setReDownload(String reDownload) {
		this.reDownload = reDownload!=null?
				reDownload:Constant.EMPTY;
	}
	
	public String getDownloaded() {
		return downloaded;
	}
	public void setDownloaded(String downloaded) {
		this.downloaded = downloaded!=null?
				downloaded:Constant.EMPTY;
	}
	
}
